package org.example.loop;

/**
 * @author: knowno
 * @create: 2025-09-09 15:36
 * @Version 1.0
 **/
public class TestBreak2 {
    public static void main(String[] args) {

     loop1:   for (int i = 0; i < 5; i++) {

            for (int j = 0; j <10 ; j++) {
                if (j == 3) {
                    break loop1;
                }
                System.out.println(" 内循环的i "+i + " - 内循环的j = " + j);
            }
            System.out.println("外循环的i = " + i);
        }

    }
}
